/*     */ package dm.sql;
/*     */ 
/*     */ import dm.jdbc.dbaccess.DBError;
/*     */ import java.io.InputStream;
/*     */ import java.io.Reader;
/*     */ import java.math.BigDecimal;
/*     */ import java.net.URL;
/*     */ import java.sql.Array;
/*     */ import java.sql.Blob;
/*     */ import java.sql.Clob;
/*     */ import java.sql.Date;
/*     */ import java.sql.Ref;
/*     */ import java.sql.SQLData;
/*     */ import java.sql.SQLException;
/*     */ import java.sql.SQLOutput;
/*     */ import java.sql.Struct;
/*     */ import java.sql.Time;
/*     */ import java.sql.Timestamp;
/*     */ import java.util.ArrayList;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class DmdbSQLOutput
/*     */   implements SQLOutput
/*     */ {
/*  30 */   private ArrayList m_attribs = new ArrayList();
/*     */   
/*     */   public void writeString(String x) throws SQLException {
/*  33 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeBoolean(boolean x) throws SQLException {
/*  37 */     this.m_attribs.add(Boolean.valueOf(x));
/*     */   }
/*     */   
/*     */   public void writeByte(byte x) throws SQLException {
/*  41 */     this.m_attribs.add(Byte.valueOf(String.valueOf(x)));
/*     */   }
/*     */   
/*     */   public void writeShort(short x) throws SQLException {
/*  45 */     this.m_attribs.add(Short.valueOf(String.valueOf(x)));
/*     */   }
/*     */   
/*     */   public void writeInt(int x) throws SQLException {
/*  49 */     this.m_attribs.add(Integer.valueOf(String.valueOf(x)));
/*     */   }
/*     */   
/*     */   public void writeLong(long x) throws SQLException {
/*  53 */     this.m_attribs.add(Long.valueOf(String.valueOf(x)));
/*     */   }
/*     */   
/*     */   public void writeFloat(float x) throws SQLException {
/*  57 */     this.m_attribs.add(Float.valueOf(String.valueOf(x)));
/*     */   }
/*     */   
/*     */   public void writeDouble(double x) throws SQLException {
/*  61 */     this.m_attribs.add(Double.valueOf(String.valueOf(x)));
/*     */   }
/*     */   
/*     */   public void writeBigDecimal(BigDecimal x) throws SQLException {
/*  65 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeBytes(byte[] x) throws SQLException {
/*  69 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeDate(Date x) throws SQLException {
/*  73 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeTime(Time x) throws SQLException {
/*  77 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeTimestamp(Timestamp x) throws SQLException {
/*  81 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeCharacterStream(Reader x)
/*     */     throws SQLException
/*     */   {}
/*     */   
/*     */   public void writeAsciiStream(InputStream x)
/*     */     throws SQLException
/*     */   {}
/*     */   
/*     */   public void writeBinaryStream(InputStream x) throws SQLException
/*     */   {}
/*     */   
/*     */   public void writeObject(SQLData x) throws SQLException
/*     */   {
/*  97 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeRef(Ref x) throws SQLException
/*     */   {}
/*     */   
/*     */   public void writeBlob(Blob x) throws SQLException
/*     */   {
/* 105 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeClob(Clob x) throws SQLException {
/* 109 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeStruct(Struct x) throws SQLException {
/* 113 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeArray(Array x) throws SQLException {
/* 117 */     this.m_attribs.add(x);
/*     */   }
/*     */   
/*     */   public void writeURL(URL x)
/*     */     throws SQLException
/*     */   {}
/*     */   
/*     */   public Object[] getAttribs()
/*     */   {
/* 126 */     return this.m_attribs.toArray(new Object[this.m_attribs.size()]);
/*     */   }
/*     */ }


/* Location:              D:\Program Files\DBMS_20150813\jdbc\Dm7JdbcDriver17.jar!\dm\sql\DmdbSQLOutput.class
 * Java compiler version: 2 (46.0)
 * JD-Core Version:       0.7.1
 */